<!--
	Carnegie Mellon University
	School of Computer Science
	MSIT eBusiness Technology

	Team 8 - Infinity (2011 Spring)
	infinity-team8@googlegroups.com

	Professor: Jeffrey L. Eppinger
	Program Faculty: Sujata Telang
-->

<jsp:include page="customer-template-top.jsp" />
<jsp:include page="customer-topnav.jsp" />
<%@ page import="databean.CustomerBean" %>
<%@ page import="model.CustomerDAO" %>
<%
	CustomerBean customer = (CustomerBean) session.getAttribute("customer");
%>
<div id="header">
<h1>Request Check</h1>    
</div>
<jsp:include page="customer-sidebar.jsp" />

<div id="content">

<div id="form-wrapper">
<jsp:include page="customer-error-list.jsp" />
	<form method="POST" action="customer-request-check.do">
	<div class="box">
	 <%
		CustomerDAO customerDAO = new CustomerDAO();
	 %>
	 Available Cash <span style="font-style:italic;font-weight:normal;">$<%=customerDAO.getAvailableCashFormatted(customer.getUserName())%></span>
	</div>
	<div class="line-wrap">
	<label>Request amount  </label>
	<div class="field"><input class="medium" style="margin-left:-250px" type="text" name="amount" value=""/></div>  
	</div>
	<div class="button"><input type="submit" name="button" value="Request Check"/></div>
	</form>
</div>
</div>

<jsp:include page="footer.jsp" />
